Ext.define('Admin.view.system.vote.OptionForm', {
    extend: 'Admin.ux.form.FormPanel',
    xtype: 'option-form',
    items: [
            {	xtype:'hiddenfield',name:'id'	},
            {
    	        xtype: 'tagfield',
    	        fieldLabel: '选择角色',
    	        emptyText:'请选择角色',
    	        id:'user_professional',
    	        displayField: 'user_professional',
    	     	queryMode: 'local',
    	        minChars :1,
    	        remoteFilter: true,
    	        editable :true,
    	        forceSelection :true,
             	filterPickList: true,
    	        name:'user_professional',
    	        store : new Ext.data.ArrayStore({  
                    fields : ['value', 'user_professional'],  
                    data : [["学士", '学士'], ["硕士", '硕士'],["博士", '博士'] ,["博士后", '博士后']] 
                }),  
    	    },
	        {
	            xtype: 'radiogroup',
	            fieldLabel: '性别',
	            columns: 8,
	            items: [
	                {boxLabel: '男', name: 'user_sex', inputValue: '男', checked: true},
	                {boxLabel: '女', name: 'user_sex', inputValue: '女'} ]
	        },
	        {
	            xtype: 'numberfield',
	            name:'user_age',
	            emptyText:'请输入工龄',
	            fieldLabel: '工龄',
	            minLength:1,
	            maxLength:3
	        },
       
         ]
});
